﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using CodeStash.Common.DataAccess.EntityFramework;
using System.Runtime.Serialization;

namespace CodeStash.Common.DTOS
{
 
    [DataContract]
    public class JSONCodeSnippetAddSingleResult
    {
        public JSONCodeSnippetAddSingleResult(JSONCodeSnippet codeSnippet, String errorMessage)
        {
            this.CodeSnippet = codeSnippet;
            this.ErrorMessage = errorMessage;
        }


        [DataMember]
        public JSONCodeSnippet CodeSnippet { get; private set; }

        [DataMember]
        public String ErrorMessage { get; private set; }
        
    }
}
